home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / program / curses.arc / curses.man < prev    next >
Text File  |  1987-08-24  |  5KB  |  97 lines

  1. CURSES(3X)                                                          CURSES(3X)
  2.  
  3.  
  4. NAME
  5.  
  6.     curses - screen functions with "optimal" cursor motion
  7.  
  8.  
  9. DESCRIPTION
  10.  
  11.    The functions in the curses-package give you an implementation of the
  12. UN*X-curses package for the Atari ST series computer. It allows you to do
  13. terminal-oriented graphics of a crude nature. An image is kept of what the
  14. current screen looks like, while the user creates a new image. Refresh()
  15. must be called to make the current screen look like the one the user has
  16. prepared. Initscr() must be called to initialize the package and endwin()
  17. to clean up before exiting.
  18.  
  19. SEE ALSO
  20.  
  21.    Screen Updating and Cursor Movement Optimization : A Library Package,
  22.        Ken Arnold.
  23.    The CURSES screen updating and cursor movement package : A collection
  24.        of C-functions for the Atari ST-series computers, R. van 't Veen.
  25.  
  26. AUTHORS
  27.  
  28.    UN*X-curses  : Ken Arnold.
  29.    Atari-curses : Rene van 't Veen.
  30.  
  31. FUNCTIONS
  32.  
  33.    addch(c)                                  add a character to stdscr
  34.    addstr(s)                                 add a string to stdscr
  35.    box(win,v,h)                              draw a box around a window
  36.    crmode()                                  set cbreak mode
  37.    clear()                                   clear stdscr
  38.    clearok(scr,f)                            set clear flag for scr
  39.    cltobot()                                 clear to bottom on stdscr
  40.    clrtoeol()                                clear to end of line on stdscr
  41.    delch()                                   delete a character
  42.    deleteln()                                delete a line
  43.    delwin(w)                                 delete window w
  44.    echo()                                    set echo mode
  45.    endwin()                                  end window mode
  46.    erase()                                   erase stdscr
  47.    getch()                                   get a char through stdscr
  48.    getstr()                                  get a string through stdscr
  49.    getyx(w,y,x)                              get current coordinates
  50.    inch()                                    get char at current coordinates
  51.    initscr()                                 initialize curses
  52.    insch()                                   insert a character
  53.    insertln()                                insert a line
  54.    leaveok(w,f)                              set leave flag for window w
  55.    longname(termbuf, name)                   get a long terminal name
  56.    move(y,x)                                 move to (y,x) on stdscr
  57.    mvcur(ly,lx,ny,nx)                        actually move the cursor
  58.    newwin(lines,cols,begin_y,begin_x)        create a window
  59.    nl()                                      set newline mapping on
  60.    nocrmode()                                unset cbreak mode
  61.    noecho()                                  unset echo mode
  62.    nonl()                                    set newline mapping off
  63.    noraw()                                   unset raw mode
  64.    overlay(win1,win2)                        overlay win1 on win2
  65.    overwrite(win1,win2)                      overwrite win1 on win2
  66.    raw()                                     set raw mode
  67.    refresh()                                 make terminal look like stdscr
  68.    scroll(win)                               scroll win one line up
  69.    scrollok(w,f)                             set scroll flag for window win
  70.    standend()                                leave standout mode
  71.    standout()                                enter standout mode
  72.    subwin(win,lines,cols,begin_y,begin_x)    create a sub window
  73.    touchwin(win)                             change everything on win
  74.    waddch(win,c)                             add char to win
  75.    waddstr(win,s)                            add string to win
  76.    wclear(w)                                 clear w
  77.    wclrtobot(w)                              clear w to bottom of w
  78.    wclrtoeol(w)                              clear w to end of line
  79.    wdelch(w)                                 delete character from w
  80.    wdeleteln(w)                              delete line from w
  81.    werase(w)                                 erase w
  82.    wgetch(w)                                 get a character through w
  83.    wgetstr(w,s)                              get a string through w
  84.    winch(w)                                  get char at current (y,x) of w
  85.    winsch(w,c)                               insert a char on w
  86.    winsertln(w)                              insert a line on w
  87.    wmove(w,y,x)                              set current coordinates of w
  88.    wrefresh(w)                               make terminal look like w
  89.    wstandend(w)                              leave standout mode for w
  90.    wstandout(w)                              enter standout mode for w
  91.  
  92. BUGS
  93.  
  94.    Hopefully none, but you never know ...
  95.    If you find any, please let me know, 
  96.    I ( Rene ) am at ..!mcvax!nikhefh!u13 .
  97.